<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/super/list">超级头条列表</a></li>
    <li class="active">超级头条</li>
  </ol>
  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="save()">
    <div class="form-group" ng-class="{'has-error':form.advertTitle.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span> 标题
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="advertTitle" ng-model="recommend.advertTitle" required="required" placeholder="链接地址">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.linkAddre.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span> 链接地址
      </label>
      <div class="col-sm-5">
        <input type="text" class="form-control" autocomplete="off" value="" name="linkAddre" ng-model="recommend.linkAddre" required="required" placeholder="链接地址">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.advertPosition.$invalid}">
      <label class="col-sm-2 control-label">
        <span class="required">*</span> 推荐类型
      </label>
      <div class="col-sm-5">
        <select class="form-control" name="advertPosition" ng-model="recommend.advertPosition" placeholder="推荐类型" required="required">
          <option value="14">超级头条</option>
        </select>
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label"></label>
      <div class="col-sm-5">
        <img ng-show="recommend.picAddre" ng-src="{{staticHost}}{{recommend.picAddre}}" style="width:300px; height:180px;" />
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label">&nbsp;</label>
      <div class="col-sm-5"> 
        <input type="submit" class="btn btn-primary" value="保存" />
      </div>
    </div>
  </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?5'" call-back="" charset="utf-8"></div>
